//
//  search.m
//  Candy
//
//  Created by QUAQUA on 2018/3/21.
//  Copyright © 2018年 庄文盛 All rights reserved.
//

#import "search.h"
#import "ShopModel.h"

@implementation search

- (void)awakeFromNib {
    [super awakeFromNib];
    _dianji.hidden=YES;
    // Initialization code
}

- (void)setCellValue:(ShopModel *)model {
    self.name.text = model.shopName;
    self.distance.text = [NSString stringWithFormat:@"%@km",model.distance];
    self.state.text = model.state;
    self.cost.text = [NSString stringWithFormat:@"人均消费%@元",model.cost];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
